package com.dw.dwdzcommerce.tools.commons.http;

/**
 * Created by zz on 15/10/31.
 */
public class HttpUtilBuilder {

    private static IHttpUtil httpUtil;

    public static IHttpUtil buildOkHttpUtil() {
        if (httpUtil == null) {
            synchronized (HttpUtilBuilder.class) {
                if (httpUtil == null) {
                    httpUtil = new HttpUtilOKHttp();
                }
            }
        }
        return httpUtil;
    }
}
